﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Phone.Shell;

/**
 * 创建时间：2014/11/19 16:35:59
 * 作者：yong.blackcore
 * Email：itblackhole@outlook.com
 * QQ：50404503
 */
namespace ShareFolder
{
    public class GClass6
    {
        public GClass6()
        {
        }

        public static void smethod_0(IApplicationBar iapplicationBar_0)
        {
            iapplicationBar_0.Buttons.Clear();
            iapplicationBar_0.MenuItems.Clear();
        }

        public static void smethod_1(IApplicationBar iapplicationBar_0, string string_0, string string_1, EventHandler eventHandler_0)
        {
            ApplicationBarIconButton applicationBarIconButton = new ApplicationBarIconButton(new Uri(string.Concat("/Images/", string_0), UriKind.Relative))
            {
                Text = string_1
            };
            applicationBarIconButton.Click += eventHandler_0;
            iapplicationBar_0.Buttons.Add(applicationBarIconButton);
        }

        public static void smethod_2(IApplicationBar iapplicationBar_0, string string_0, EventHandler eventHandler_0)
        {
            ApplicationBarMenuItem applicationBarMenuItem = new ApplicationBarMenuItem(string_0);
            applicationBarMenuItem.Click += eventHandler_0;
            iapplicationBar_0.MenuItems.Add(applicationBarMenuItem);
        }
    }
}
